package com.offcn.webui.service;

import com.offcn.common.response.AppResponse;
import com.offcn.webui.service.impl.OrderFeignServiceImpl;
import com.offcn.webui.vo.req.OrderFormInfoSubmitVo;
import com.offcn.webui.vo.resp.TOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "SCW-ORDER",fallback = OrderFeignServiceImpl.class)
public interface OrderFeignService {

    @PostMapping("/order/createOrder")
    public AppResponse<TOrder> createOrder(@RequestBody OrderFormInfoSubmitVo vo);
}
